#pragma once

#include "CShapeDescriptor.h"


namespace TLAPI {

#pragma pack(1)

  struct CUnitSpawnerDescriptor : CShapeDescriptor
  {
    // TODO use below

    /*
    PVOID vtable;
    u32 unk0;
    u64 guid0;
    u64 unk1;
    u64 guid1;
    u32 unk2[10];
    u32 unk3;
    PVOID pCEditorScene;      // ptr to CEditorScene
    u32 unk4[3];
    PVOID pStringUnitSpawner; // ptr string "Unit Spawner"
    u32 unk5[14];             // some unicode garbage?
    PVOID pStringBuildingBlock; // ptr string "Building Blocks"
    u32 unk6[14];
    PVOID unk7;               // ptr to some cyclic structure nodes
    u32 unk8;
    PVOID pCDescriptorProps;  // Probably: CList<CDescriptorProp*>
    PVOID* ppCUnitSpawner;    // ptr ptr to CUnitSpawner
    u32 unk9[7];
    PVOID pStringWeird0;      // ptr string to weird hardcode
    u32 unk10[3];             // values: 6, 6, 2
    PVOID pCLogicWrappers;    // Probably: CList<CLogicWrapper*>
    u32 unk11[3];             // values: 7, 8, 2
    PVOID pStringWeird1;      // ptr string to weird hardcode
    u32 unk12[5];
    PVOID unk13;              // points to a structure that had 3 elements points to itself...
    */
  };

#pragma pack()

};
